<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<form action="req01" method="get">

    username:<input type="text" name="username"> <br>
    password:<input type="password" name="password"> <br>

    性别:
    <input type="radio" name="sex" value="男">男
    <input type="radio" name="sex" value="女">女
    <br>

    爱好:
    <input type="checkbox" name="fav" value="看电影"> 看电影
    <input type="checkbox" name="fav" value="看书">看书
    <input type="checkbox" name="fav" value="游泳">游泳
    <br>

    <input type="submit" value="提交">
</form>

</body>
</html>